home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2b.lha
/
p4-1.2b
/
messages
/
makefile.proto
< prev
next >
Wrap
Makefile
|
1993-02-05
|
1KB
|
40 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIBS = $(LIBDIR)/libp4.a $(MDEP_LIBS)
default:$(P)
make $(MFLAGS) sr_test sr1_test systest
all:$(P)
make $(MFLAGS) sr_test systest
make $(MFLAGS) sr_master sr_slave
make $(MFLAGS) grid_master grid_slave
sr_test:$(P) sr_test.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o sr_test sr_test.o $(LIBS)
sr1_test:$(P) sr1_test.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o sr1_test sr1_test.o $(LIBS)
systest:$(P) systest.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o $@ systest.o $(LIBS)
grid_master:$(P) grid_master.o grid_slave.o grid_comm.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o grid_master grid_master.o grid_slave.o \
grid_comm.o $(LIBS)
grid_slave:$(P) slave_main.o grid_slave.o grid_comm.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o grid_slave slave_main.o grid_slave.o grid_comm.o $(LIBS)
sr_master:$(P) sr_master.o sr_slave.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o sr_master sr_master.o sr_slave.o $(LIBS)
sr_slave:$(P) slave_main.o sr_slave.o $(LIBDIR)/libp4.a
$(CLINKER) $(CFLAGS) -o sr_slave slave_main.o sr_slave.o $(LIBS)
realclean: clean
$(RM) -f sr_test sr1_test systest grid_master grid_slave \
sr_master sr_slave Makefile